package com.antoco.operation.bigscreen.model.dto;

import javax.validation.constraints.Digits;
import javax.validation.constraints.Min;
import javax.validation.constraints.NotNull;

import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;

@Data
@ApiModel(value="WoExecTjDTO")
public class WoExecTjDTO {

    @NotNull(message = "工单执行进度不能为空")
    @Min(value = 0, message = "工单执行进度必须是正整数")
    @Digits(integer = 10, fraction = 0, message = "工单执行进度必须是整数")
    @ApiModelProperty(value = "工单执行进度", example="70")
    private String woJd;

    @NotNull(message = "巡检执行进度不能为空")
    @Min(value = 0, message = "巡检执行进度必须是正整数")
    @Digits(integer = 10, fraction = 0, message = "巡检执行进度必须是整数")
    @ApiModelProperty(value = "巡检执行进度", example="70")
    private String xunjianJd;

    @NotNull(message = "维修执行进度不能为空")
    @Min(value = 0, message = "维修执行进度必须是正整数")
    @Digits(integer = 10, fraction = 0, message = "维修执行进度必须是整数")
    @ApiModelProperty(value = "维修执行进度", example="70")
    private String weixiuJd;

    @NotNull(message = "工单验收进度不能为空")
    @Min(value = 0, message = "工单验收进度必须是正整数")
    @Digits(integer = 10, fraction = 0, message = "工单验收进度必须是整数")
    @ApiModelProperty(value = "工单验收进度", example="70")
    private String yansouJd;

    @NotNull(message = "在途工单数不能为空")
    @Min(value = 0, message = "在途工单数必须是正整数")
    @Digits(integer = 10, fraction = 0, message = "在途工单数必须是整数")
    @ApiModelProperty(value = "在途工单数", example="70")
    private String runningNum;

    @NotNull(message = "今日派单数不能为空")
    @Min(value = 0, message = "今日派单数必须是正整数")
    @Digits(integer = 10, fraction = 0, message = "今日派单数必须是整数")
    @ApiModelProperty(value = "今日派单数", example="70")
    private String thisDayNum;

    @NotNull(message = "工单驳回占比不能为空")
    @Min(value = 0, message = "工单驳回占比必须是正整数")
    @Digits(integer = 10, fraction = 0, message = "工单驳回占比必须是整数")
    @ApiModelProperty(value = "工单驳回占比", example="70")
    private String rejectZb;

    @NotNull(message = "检修管道数不能为空")
    @Min(value = 0, message = "检修管道数必须是正整数")
    @Digits(integer = 10, fraction = 0, message = "检修管道数必须是整数")
    @ApiModelProperty(value = "检修管道数", example="70")
    private String jianxiuPipeNum;

    @NotNull(message = "当前检修人数不能为空")
    @Min(value = 0, message = "当前检修人数必须是正整数")
    @Digits(integer = 10, fraction = 0, message = "当前检修人数必须是整数")
    @ApiModelProperty(value = "当前检修人数", example="70")
    private String jianxiuMenNum;

    @NotNull(message = "检修岗总人数不能为空")
    @Min(value = 0, message = "检修岗总人数必须是正整数")
    @Digits(integer = 10, fraction = 0, message = "检修岗总人数必须是整数")
    @ApiModelProperty(value = "检修岗总人数", example="70")
    private String jianxiuAllNum;

    @NotNull(message = "当前巡检人数不能为空")
    @Min(value = 0, message = "当前巡检人数必须是正整数")
    @Digits(integer = 10, fraction = 0, message = "当前巡检人数必须是整数")
    @ApiModelProperty(value = "当前巡检人数", example="70")
    private String xunjianMenNum;

    @NotNull(message = "巡检岗总人数不能为空")
    @Min(value = 0, message = "巡检岗总人数必须是正整数")
    @Digits(integer = 10, fraction = 0, message = "巡检岗总人数必须是整数")
    @ApiModelProperty(value = "巡检岗总人数", example="70")
    private String xunjianAllNum;

    @NotNull(message = "当前维修人数不能为空")
    @Min(value = 0, message = "当前维修人数必须是正整数")
    @Digits(integer = 10, fraction = 0, message = "当前维修人数必须是整数")
    @ApiModelProperty(value = "当前维修人数", example="70")
    private String weixiuMenNum;

    @NotNull(message = "维修岗总人数不能为空")
    @Min(value = 0, message = "维修岗总人数必须是正整数")
    @Digits(integer = 10, fraction = 0, message = "维修岗总人数必须是整数")
    @ApiModelProperty(value = "维修岗总人数", example="70")
    private String weixiuAllNum;
}